package com.woniuxy.amusementparkos.service.wyh;

import java.util.List;

import com.woniuxy.amusementparkos.entity.wyh.Customer;

public interface CustomerService {
	//根据id查询顾客
	Customer getById(int customer_id);
	//查询所有顾客
	List<Customer> getAll();
	//新增顾客
	void addCustomer(Customer customer);

	//根据条件动态更新顾客
	void updateCustomer(Customer customer);
	
	//返回最后插入的客户id
	int seletLastAddId();
	
	//新增客户信息 并返回 该新增的主键id (customer_id)
	int  addBackId(Customer customer);
	
	//根据条件查询customer
	List<Customer> getAllBy(Customer customer);
}
